package cn.iocoder.yudao.module.lfd.controller.admin.customer.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import java.time.LocalDateTime;
import java.time.LocalDateTime;
import java.math.BigDecimal;
import javax.validation.constraints.*;

/**
* 顾客 Base VO，提供给添加、修改、详细的子 VO 使用
* 如果子 VO 存在差异的字段，请不要添加到这里，影响 Swagger 文档生成
*/
@Data
public class CustomerBaseVO {

    @Schema(description = "openid", example = "4577")
    private String openid;

    @Schema(description = "号码", required = true)
    @NotNull(message = "号码不能为空")
    private String phone;

    @Schema(description = "appid", example = "7053")
    private String appid;

    @Schema(description = "昵称", example = "王五")
    private String nickName;

    @Schema(description = "积分", required = true)
    @NotNull(message = "积分不能为空")
    private Double integral;

    @Schema(description = "钱包", required = true)
    @NotNull(message = "钱包不能为空")
    private BigDecimal money;


    private String avatar;

}
